<!doctype html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>督查管理-督查列表-部门情况列表</title>
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<link href="/overseer_assets/detail_assets/css/bootstrap.min.css" rel="stylesheet">
	<link href="/overseer_assets/detail_assets/css/style.css" rel="stylesheet">
	<link href="/overseer_assets/detail_assets/css/font-awesome.css" rel="stylesheet">
</head>

<body>
	<div class="container-fluid">
		<div class="om-ctl-mes">
			<div class="title">
				<div class="col-xs-12"><span class="fa fa-list-ul"> 督查管理</span><b class="fa fa-caret-right"></b><i>督查列表</i><b class="fa fa-caret-right"></b><i>部门情况列表</i></div>
			</div>
			<div class="seltemple" style="margin-left:50px;margin-top:20px;">
            <p><?=$tDIDatas[0]['introduce']?>卫生情况</p>
			</div>
			<div  class="mes-conttent col-xs-12">
				<table class="table off-table">
	              <thead>
	             	<tr>
			        <th>编号</th>
			        <th>打扫时间</th>
			        <th>卫生间卫生</th>
			        <th>居室卫生</th>
			        <th>厨房卫生</th>
			        <th>督查人员</th>
			        <th>操作</th>
		            </tr>
	              </thead>
	             <tbody>
                    <?foreach($tDatas as $k => $tRow){?>
                    <tr>
                        <td><?=$tRow['id']?></td>
                        <td><?=$tRow['date']?></td>
                        <td><?=empty($tRow['toilet'])?'暂无':$tRow['toilet'].'分'?></td>
                        <td><?=empty($tRow['room'])?'暂无':$tRow['room'].'分'?></</td>
                        <td><?=empty($tRow['hygiene'])?'暂无':$tRow['hygiene'].'分'?></td>
                        <td><?=empty($tRow['name'])?'暂无':$tRow['name']?></td>
                        <td>
                        <?if($tRow['status']==1){?>
                        <button type="button" onclick="location.href='/admin_overseer/details?ID=<?=$tRow['id']?>&status=1&department=<?=$tRow['department']?>&tDate=<?=$tRow['date']?>';">查看详情</button>
                        <?}else{?>
                        <button type="button" onclick="location.href='/admin_overseer/add?ID=<?=$tRow['id']?>&status=2&department=<?=$tRow['department']?>&tDate=<?=$tRow['date']?>';">评分</button>
                        <?}?>
                        </td>
                    </tr>
                    <?}?>
	            </tbody>
              </table>
            <?=$tShow?>
			</div>
		</div>
    </div>
        <script type="text/javascript" src="/overseer_assets/detail_assets/js/jquery.min.js"></script>

</body>
</html>
